<?php

/**
 * Created by PhpStorm.
 * User: Bu
 * Date: 2018/1/16
 * Time: 20:42
 */
namespace app\admin\vlidate;
use think\Validate;

class CategoryPost extends Validate
{
    protected $rule = [
        'name'  =>  'require|max:25',
        'email' =>  'email',
    ];
}